package com.hangkong.dao;


import com.hangkong.model.Flightcabin;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;


import java.util.List;

@Repository
public interface FlightcabinDao {

    Flightcabin insert(@Param("obj") Flightcabin obj);

    Flightcabin del(@Param("id") Integer id);

    List<Flightcabin> get();

    Integer subflightcabin(@Param("flightId")String flightNo,@Param("cabinName") String flightCabin);
}